package com.paperobot.dao;

import java.util.List;
import java.util.Map;

import com.paperobot.model.Admin;

public interface AdminDao {
	Long addAdmin(Admin admin) throws Exception;	
	int updateAdmin(Admin admin) throws Exception;
	int deleteAdmin(Long adminId) throws Exception;
	List<Admin> getAdminList(Map<String, Object> map) throws Exception;	
	Admin getAdmin(String userName) throws Exception;
}
